﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200093D RID: 2365
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class HOMHNAPNMOJ : IMessage<HOMHNAPNMOJ>, IMessage, IEquatable<HOMHNAPNMOJ>, IDeepCloneable<HOMHNAPNMOJ>, IBufferMessage
	{
		// Token: 0x17001DFA RID: 7674
		// (get) Token: 0x06006A1F RID: 27167 RVA: 0x0011D384 File Offset: 0x0011B584
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<HOMHNAPNMOJ> Parser
		{
			get
			{
				return HOMHNAPNMOJ._parser;
			}
		}

		// Token: 0x17001DFB RID: 7675
		// (get) Token: 0x06006A20 RID: 27168 RVA: 0x0011D38B File Offset: 0x0011B58B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return HOMHNAPNMOJReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001DFC RID: 7676
		// (get) Token: 0x06006A21 RID: 27169 RVA: 0x0011D39D File Offset: 0x0011B59D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return HOMHNAPNMOJ.Descriptor;
			}
		}

		// Token: 0x06006A22 RID: 27170 RVA: 0x0011D3A4 File Offset: 0x0011B5A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HOMHNAPNMOJ()
		{
		}

		// Token: 0x06006A23 RID: 27171 RVA: 0x0011D3C4 File Offset: 0x0011B5C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HOMHNAPNMOJ(HOMHNAPNMOJ other) : this()
		{
			this.avatarId_ = other.avatarId_;
			this.pNPMEACMBPP_ = other.pNPMEACMBPP_.Clone();
			this.source_ = other.source_;
			this.damage_ = other.damage_;
			this.nPEAKNHDHHH_ = other.nPEAKNHDHHH_.Clone();
			this.bLDNDNLLKCH_ = other.bLDNDNLLKCH_;
			this.pFPGCCMKHIJ_ = other.pFPGCCMKHIJ_;
			this.mDCMIDKJLEL_ = other.mDCMIDKJLEL_;
			this.wave_ = other.wave_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06006A24 RID: 27172 RVA: 0x0011D45E File Offset: 0x0011B65E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HOMHNAPNMOJ Clone()
		{
			return new HOMHNAPNMOJ(this);
		}

		// Token: 0x17001DFD RID: 7677
		// (get) Token: 0x06006A25 RID: 27173 RVA: 0x0011D466 File Offset: 0x0011B666
		// (set) Token: 0x06006A26 RID: 27174 RVA: 0x0011D46E File Offset: 0x0011B66E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint AvatarId
		{
			get
			{
				return this.avatarId_;
			}
			set
			{
				this.avatarId_ = value;
			}
		}

		// Token: 0x17001DFE RID: 7678
		// (get) Token: 0x06006A27 RID: 27175 RVA: 0x0011D477 File Offset: 0x0011B677
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> PNPMEACMBPP
		{
			get
			{
				return this.pNPMEACMBPP_;
			}
		}

		// Token: 0x17001DFF RID: 7679
		// (get) Token: 0x06006A28 RID: 27176 RVA: 0x0011D47F File Offset: 0x0011B67F
		// (set) Token: 0x06006A29 RID: 27177 RVA: 0x0011D487 File Offset: 0x0011B687
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Source
		{
			get
			{
				return this.source_;
			}
			set
			{
				this.source_ = value;
			}
		}

		// Token: 0x17001E00 RID: 7680
		// (get) Token: 0x06006A2A RID: 27178 RVA: 0x0011D490 File Offset: 0x0011B690
		// (set) Token: 0x06006A2B RID: 27179 RVA: 0x0011D498 File Offset: 0x0011B698
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public double Damage
		{
			get
			{
				return this.damage_;
			}
			set
			{
				this.damage_ = value;
			}
		}

		// Token: 0x17001E01 RID: 7681
		// (get) Token: 0x06006A2C RID: 27180 RVA: 0x0011D4A1 File Offset: 0x0011B6A1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> NPEAKNHDHHH
		{
			get
			{
				return this.nPEAKNHDHHH_;
			}
		}

		// Token: 0x17001E02 RID: 7682
		// (get) Token: 0x06006A2D RID: 27181 RVA: 0x0011D4A9 File Offset: 0x0011B6A9
		// (set) Token: 0x06006A2E RID: 27182 RVA: 0x0011D4B1 File Offset: 0x0011B6B1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int BLDNDNLLKCH
		{
			get
			{
				return this.bLDNDNLLKCH_;
			}
			set
			{
				this.bLDNDNLLKCH_ = value;
			}
		}

		// Token: 0x17001E03 RID: 7683
		// (get) Token: 0x06006A2F RID: 27183 RVA: 0x0011D4BA File Offset: 0x0011B6BA
		// (set) Token: 0x06006A30 RID: 27184 RVA: 0x0011D4C2 File Offset: 0x0011B6C2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public double PFPGCCMKHIJ
		{
			get
			{
				return this.pFPGCCMKHIJ_;
			}
			set
			{
				this.pFPGCCMKHIJ_ = value;
			}
		}

		// Token: 0x17001E04 RID: 7684
		// (get) Token: 0x06006A31 RID: 27185 RVA: 0x0011D4CB File Offset: 0x0011B6CB
		// (set) Token: 0x06006A32 RID: 27186 RVA: 0x0011D4D3 File Offset: 0x0011B6D3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint MDCMIDKJLEL
		{
			get
			{
				return this.mDCMIDKJLEL_;
			}
			set
			{
				this.mDCMIDKJLEL_ = value;
			}
		}

		// Token: 0x17001E05 RID: 7685
		// (get) Token: 0x06006A33 RID: 27187 RVA: 0x0011D4DC File Offset: 0x0011B6DC
		// (set) Token: 0x06006A34 RID: 27188 RVA: 0x0011D4E4 File Offset: 0x0011B6E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Wave
		{
			get
			{
				return this.wave_;
			}
			set
			{
				this.wave_ = value;
			}
		}

		// Token: 0x06006A35 RID: 27189 RVA: 0x0011D4ED File Offset: 0x0011B6ED
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as HOMHNAPNMOJ);
		}

		// Token: 0x06006A36 RID: 27190 RVA: 0x0011D4FC File Offset: 0x0011B6FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(HOMHNAPNMOJ other)
		{
			return other != null && (other == this || (this.AvatarId == other.AvatarId && this.pNPMEACMBPP_.Equals(other.pNPMEACMBPP_) && this.Source == other.Source && ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(this.Damage, other.Damage) && this.nPEAKNHDHHH_.Equals(other.nPEAKNHDHHH_) && this.BLDNDNLLKCH == other.BLDNDNLLKCH && ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(this.PFPGCCMKHIJ, other.PFPGCCMKHIJ) && this.MDCMIDKJLEL == other.MDCMIDKJLEL && this.Wave == other.Wave && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06006A37 RID: 27191 RVA: 0x0011D5D4 File Offset: 0x0011B7D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.AvatarId != 0U)
			{
				num ^= this.AvatarId.GetHashCode();
			}
			num ^= this.pNPMEACMBPP_.GetHashCode();
			if (this.Source != 0U)
			{
				num ^= this.Source.GetHashCode();
			}
			if (this.Damage != 0.0)
			{
				num ^= ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(this.Damage);
			}
			num ^= this.nPEAKNHDHHH_.GetHashCode();
			if (this.BLDNDNLLKCH != 0)
			{
				num ^= this.BLDNDNLLKCH.GetHashCode();
			}
			if (this.PFPGCCMKHIJ != 0.0)
			{
				num ^= ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(this.PFPGCCMKHIJ);
			}
			if (this.MDCMIDKJLEL != 0U)
			{
				num ^= this.MDCMIDKJLEL.GetHashCode();
			}
			if (this.Wave != 0U)
			{
				num ^= this.Wave.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06006A38 RID: 27192 RVA: 0x0011D6DB File Offset: 0x0011B8DB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06006A39 RID: 27193 RVA: 0x0011D6E3 File Offset: 0x0011B8E3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06006A3A RID: 27194 RVA: 0x0011D6EC File Offset: 0x0011B8EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.AvatarId != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.AvatarId);
			}
			this.pNPMEACMBPP_.WriteTo(ref output, HOMHNAPNMOJ._repeated_pNPMEACMBPP_codec);
			if (this.Source != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.Source);
			}
			if (this.Damage != 0.0)
			{
				output.WriteRawTag(33);
				output.WriteDouble(this.Damage);
			}
			this.nPEAKNHDHHH_.WriteTo(ref output, HOMHNAPNMOJ._repeated_nPEAKNHDHHH_codec);
			if (this.BLDNDNLLKCH != 0)
			{
				output.WriteRawTag(48);
				output.WriteInt32(this.BLDNDNLLKCH);
			}
			if (this.PFPGCCMKHIJ != 0.0)
			{
				output.WriteRawTag(57);
				output.WriteDouble(this.PFPGCCMKHIJ);
			}
			if (this.MDCMIDKJLEL != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.MDCMIDKJLEL);
			}
			if (this.Wave != 0U)
			{
				output.WriteRawTag(72);
				output.WriteUInt32(this.Wave);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06006A3B RID: 27195 RVA: 0x0011D804 File Offset: 0x0011BA04
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.AvatarId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.AvatarId);
			}
			num += this.pNPMEACMBPP_.CalculateSize(HOMHNAPNMOJ._repeated_pNPMEACMBPP_codec);
			if (this.Source != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Source);
			}
			if (this.Damage != 0.0)
			{
				num += 9;
			}
			num += this.nPEAKNHDHHH_.CalculateSize(HOMHNAPNMOJ._repeated_nPEAKNHDHHH_codec);
			if (this.BLDNDNLLKCH != 0)
			{
				num += 1 + CodedOutputStream.ComputeInt32Size(this.BLDNDNLLKCH);
			}
			if (this.PFPGCCMKHIJ != 0.0)
			{
				num += 9;
			}
			if (this.MDCMIDKJLEL != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.MDCMIDKJLEL);
			}
			if (this.Wave != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Wave);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06006A3C RID: 27196 RVA: 0x0011D8F4 File Offset: 0x0011BAF4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(HOMHNAPNMOJ other)
		{
			if (other == null)
			{
				return;
			}
			if (other.AvatarId != 0U)
			{
				this.AvatarId = other.AvatarId;
			}
			this.pNPMEACMBPP_.Add(other.pNPMEACMBPP_);
			if (other.Source != 0U)
			{
				this.Source = other.Source;
			}
			if (other.Damage != 0.0)
			{
				this.Damage = other.Damage;
			}
			this.nPEAKNHDHHH_.Add(other.nPEAKNHDHHH_);
			if (other.BLDNDNLLKCH != 0)
			{
				this.BLDNDNLLKCH = other.BLDNDNLLKCH;
			}
			if (other.PFPGCCMKHIJ != 0.0)
			{
				this.PFPGCCMKHIJ = other.PFPGCCMKHIJ;
			}
			if (other.MDCMIDKJLEL != 0U)
			{
				this.MDCMIDKJLEL = other.MDCMIDKJLEL;
			}
			if (other.Wave != 0U)
			{
				this.Wave = other.Wave;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06006A3D RID: 27197 RVA: 0x0011D9DC File Offset: 0x0011BBDC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06006A3E RID: 27198 RVA: 0x0011D9E8 File Offset: 0x0011BBE8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 33U)
				{
					if (num <= 16U)
					{
						if (num == 8U)
						{
							this.AvatarId = input.ReadUInt32();
							continue;
						}
						if (num != 16U)
						{
							goto IL_5C;
						}
					}
					else if (num != 18U)
					{
						if (num == 24U)
						{
							this.Source = input.ReadUInt32();
							continue;
						}
						if (num != 33U)
						{
							goto IL_5C;
						}
						this.Damage = input.ReadDouble();
						continue;
					}
					this.pNPMEACMBPP_.AddEntriesFrom(ref input, HOMHNAPNMOJ._repeated_pNPMEACMBPP_codec);
					continue;
				}
				if (num <= 48U)
				{
					if (num == 40U || num == 42U)
					{
						this.nPEAKNHDHHH_.AddEntriesFrom(ref input, HOMHNAPNMOJ._repeated_nPEAKNHDHHH_codec);
						continue;
					}
					if (num == 48U)
					{
						this.BLDNDNLLKCH = input.ReadInt32();
						continue;
					}
				}
				else
				{
					if (num == 57U)
					{
						this.PFPGCCMKHIJ = input.ReadDouble();
						continue;
					}
					if (num == 64U)
					{
						this.MDCMIDKJLEL = input.ReadUInt32();
						continue;
					}
					if (num == 72U)
					{
						this.Wave = input.ReadUInt32();
						continue;
					}
				}
				IL_5C:
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x0400288B RID: 10379
		private static readonly MessageParser<HOMHNAPNMOJ> _parser = new MessageParser<HOMHNAPNMOJ>(() => new HOMHNAPNMOJ());

		// Token: 0x0400288C RID: 10380
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400288D RID: 10381
		public const int AvatarIdFieldNumber = 1;

		// Token: 0x0400288E RID: 10382
		private uint avatarId_;

		// Token: 0x0400288F RID: 10383
		public const int PNPMEACMBPPFieldNumber = 2;

		// Token: 0x04002890 RID: 10384
		private static readonly FieldCodec<uint> _repeated_pNPMEACMBPP_codec = FieldCodec.ForUInt32(18U);

		// Token: 0x04002891 RID: 10385
		private readonly RepeatedField<uint> pNPMEACMBPP_ = new RepeatedField<uint>();

		// Token: 0x04002892 RID: 10386
		public const int SourceFieldNumber = 3;

		// Token: 0x04002893 RID: 10387
		private uint source_;

		// Token: 0x04002894 RID: 10388
		public const int DamageFieldNumber = 4;

		// Token: 0x04002895 RID: 10389
		private double damage_;

		// Token: 0x04002896 RID: 10390
		public const int NPEAKNHDHHHFieldNumber = 5;

		// Token: 0x04002897 RID: 10391
		private static readonly FieldCodec<uint> _repeated_nPEAKNHDHHH_codec = FieldCodec.ForUInt32(42U);

		// Token: 0x04002898 RID: 10392
		private readonly RepeatedField<uint> nPEAKNHDHHH_ = new RepeatedField<uint>();

		// Token: 0x04002899 RID: 10393
		public const int BLDNDNLLKCHFieldNumber = 6;

		// Token: 0x0400289A RID: 10394
		private int bLDNDNLLKCH_;

		// Token: 0x0400289B RID: 10395
		public const int PFPGCCMKHIJFieldNumber = 7;

		// Token: 0x0400289C RID: 10396
		private double pFPGCCMKHIJ_;

		// Token: 0x0400289D RID: 10397
		public const int MDCMIDKJLELFieldNumber = 8;

		// Token: 0x0400289E RID: 10398
		private uint mDCMIDKJLEL_;

		// Token: 0x0400289F RID: 10399
		public const int WaveFieldNumber = 9;

		// Token: 0x040028A0 RID: 10400
		private uint wave_;
	}
}
